[IA64] Make P2M semantics match x86
authorawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Mon, 26 Mar 2007 15:15:17 +0000 (09:15 -0600)
committerawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Mon, 26 Mar 2007 15:15:17 +0000 (09:15 -0600)
commit774e007a1c5a5605bc002ced1e1e5b21cf8b00c2
tree55508f2d0b64c9bf13007887da01ee87c55f0def
parent5ea306faca082df691382d65a61408ab8325b395
[IA64] Make P2M semantics match x86

So far the ia64 p2m has the semantic similar to
(the x86 p2m) + (page reference count).
But the differece from the x86 p2m have caused the breakage and work around.
This patch make the ia64 p2m semantic same as x86 to solve it.
- get_page() only for grant table page mapping and foreign domain page
  mapping.
- put_page() only for those pages.
- guest_physmap_remove_page() doesn't touch PGC_allocated bit.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
xen/arch/ia64/xen/mm.c
xen/include/asm-ia64/mm.h